182 HOME : PRINT "DO YOU NEED INSTRUCTIONS? (Y/N)": GET IN$: IF IN$ = "N" THEN 400
185 HOME
190 GOSUB 8000
200 HOME : REM INSTRUCTIONS
210 PRINT "MASTERMIND IS A GAME OF LOGICAL THINKING"
240 PRINT : PRINT "THE OBJECT IS TO BREAK A FIVE-PART CODE": PRINT "CHOSEN BY THE CODE-MAKER."
260 PRINT : PRINT "IN THIS VERSION,": PRINT "THE COMPUTER IS THE CODE-MAKER."
270 FOR T = 1 TO 8000: NEXT
280 PRINT : PRINT "THE CODE IS MADE FROM THE LETTERS A-H."
300 PRINT : PRINT "THE CODE-MAKER WILL CHOOSE A 5-LETTER": PRINT "SEQUENCE, AND YOU MUST TRY TO RE-CREATE": PRINT "THAT SAME SEQUENCE."
340 PRINT : PRINT "YOU WILL NOT BE ALLOWED TO SEE THE CODE."
350 FOR T = 1 TO 12000: NEXT
355 HOME : GOSUB 9000
360 PRINT : PRINT "TYPE IN YOUR FIVE LETTERS WHEN YOU ARE": PRINT "ASKED FOR 'YOUR GUESS?'."
365 PRINT : PRINT "FOR EACH CORRECT LETTER WHICH IS IN": PRINT "THE CORRECT POSITION,"
366 PRINT "YOU WILL RECEIVE AN 'X'."
367 FOR T = 1 TO 8000: NEXT
368 PRINT : PRINT "FOR EACH CORRECT LETTER WHICH IS IN": PRINT "THE WRONG POSITION,": PRINT "YOU WILL RECEIVE AN 'O'."
369 FOR T = 1 TO 8000: NEXT
370 PRINT : PRINT "YOU WILL GET 20 TRIES TO BREAK THE CODE.": PRINT "THE OBJECT IS TO BREAK THE CODE": PRINT "IN THE FEWEST POSSIBLE TRIES."
372 FOR T = 1 TO 12000: NEXT : HOME
373 GOSUB 9000
375 FOR R = 1 TO 25: VTAB 1: PRINT "TO GIVE UP, GUESS ' '": FOR T = 1 TO 200: NEXT T: VTAB 1: PRINT "TO GIVE UP, GUESS 'N O W A Y'": FOR T = 1 TO 200: NEXT T: NEXT R
380 PRINT : PRINT "GOOD LUCK!": FOR T = 1 TO 5000: NEXT T